package com.hwhp.entity;

import java.util.Date;

/**
 * SPatient entity. @author MyEclipse Persistence Tools
 */

public class SPatient implements java.io.Serializable {

	// Fields

	private String id;
	private String num;
	private String name;
	private String idType;
	private String idNum;
	private String sex;
	private Date birthday;
	private String professional;
	private String telephone;

	// Constructors

	/** default constructor */
	public SPatient() {
	}

	/** full constructor */
	public SPatient(String num, String name, String idType, String idNum,
			String sex, Date birthday, String professional, String telephone) {
		this.num = num;
		this.name = name;
		this.idType = idType;
		this.idNum = idNum;
		this.sex = sex;
		this.birthday = birthday;
		this.professional = professional;
		this.telephone = telephone;
	}

	// Property accessors

	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getNum() {
		return this.num;
	}

	public void setNum(String num) {
		this.num = num;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getIdType() {
		return this.idType;
	}

	public void setIdType(String idType) {
		this.idType = idType;
	}

	public String getIdNum() {
		return this.idNum;
	}

	public void setIdNum(String idNum) {
		this.idNum = idNum;
	}

	public String getSex() {
		return this.sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public Date getBirthday() {
		return this.birthday;
	}

	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}

	public String getProfessional() {
		return this.professional;
	}

	public void setProfessional(String professional) {
		this.professional = professional;
	}

	public String getTelephone() {
		return this.telephone;
	}

	public void setTelephone(String telephone) {
		this.telephone = telephone;
	}

}